/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
// 此处第二个参数vm，就是我们在页面使用的this，你可以通过vm获取vuex等操作
const install = (Vue, vm) => {



	// 参数配置对象
	const config = vm.vuex_config;

	// 将各个定义的接口名称，统一放进对象挂载到vm.$u.api(因为vm就是this，也即this.$u.api)下
	vm.$u.api = {

		// 基础服务：登录登出、身份信息、菜单授权、切换系统、字典数据等
		lang: (params = {}) => vm.$u.get('/lang/' + params.lang),
		index: (params = {}) => vm.$u.get(config.adminPath + '/index', params),
		login: (params = {}) => vm.$u.post(config.adminPath + '/login', params),
		logout: (params = {}) => vm.$u.get(config.adminPath + '/logout', params),
		authInfo: (params = {}) => vm.$u.get(config.adminPath + '/authInfo', params),
		menuTree: (params = {}) => vm.$u.get(config.adminPath + '/menuTree', params),
		switchSys: (params = {}) => vm.$u.get(config.adminPath + '/switch/' + params.sysCode),
		dictData: (params = {}) => vm.$u.get(config.adminPath + '/sys/dictData/treeData', params),
		dictListData: (params = {}) => vm.$u.get(config.adminPath + '/sys/dictData/listData', params),
		// 账号服务：验证码接口、忘记密码接口、注册账号接口等
		validCode: (params = {}) => vm.$u.getText('/validCode', params),
		getFpValidCode: (params = {}) => vm.$u.post('/account/getFpValidCode', params),
		savePwdByValidCode: (params = {}) => vm.$u.post('/account/savePwdByValidCode', params),
		getRegValidCode: (params = {}) => vm.$u.post('/account/getRegValidCode', params),
		saveRegByValidCode: (params = {}) => vm.$u.post('/account/saveRegByValidCode', params),
		
		// 解绑
		cleanWxOpenid: (params = {}) => vm.$u.post('/weixinMa/cleanWxOpenid', params),
		// 获取openId
		getOpenId: (params = {}) => vm.$u.post('/weixinMa/getOpenId', params),


		// APP公共服务
		upgradeCheck: () => vm.$u.post('/app/upgrade/check', { appCode: config.appCode, appVersion: config.appVersion }),
		commentSave: (params = {}) => vm.$u.post('/app/comment/save', params),

		// 个人信息修改
		user: {
			infoSaveBase: (params = {}) => vm.$u.post(config.adminPath + '/sys/user/infoSaveBase', params),
			infoSavePwd: (params = {}) => vm.$u.post(config.adminPath + '/sys/user/infoSavePwd', params),
			infoSavePqa: (params = {}) => vm.$u.post(config.adminPath + '/sys/user/infoSavePqa', params),
		},

		// 员工用户查询
		empUser: {
			listData: (params = {}) => vm.$u.get(config.adminPath + '/sys/empUser/listData', params),
		},

		// 组织机构查询
		office: {
			treeData: (params = {}) => vm.$u.get(config.adminPath + '/sys/office/treeData', params),
		
		},

		// 增删改查例子
		testData: {
			form: (params = {}) => vm.$u.post(config.adminPath + '/test/testData/form', params),
			list: (params = {}) => vm.$u.post(config.adminPath + '/test/testData/listData', params),
			save: (params = {}) => vm.$u.postJson(config.adminPath + '/test/testData/save', params),
			disable: (params = {}) => vm.$u.post(config.adminPath + '/test/testData/disable', params),
			enable: (params = {}) => vm.$u.post(config.adminPath + '/test/testData/enable', params),
			delete: (params = {}) => vm.$u.post(config.adminPath + '/test/testData/delete', params),
		},

		shop: {
			// 登录配置
			form: (params = {}) => vm.$u.get('/f/shop/shopAppsetLogin/loginForm', params),
			// 获取主页配置
			// homeForm: (params = {}) => vm.$u.get(config.adminPath+'/shop/sethome/shopAppsetHome/fbData', params),
			homeForm: (params = {}) => vm.$u.get(config.adminPath + '/shop/api/homeSetData', params),
			// 获取存货明细配置
			// shopInvForm: (params = {}) => vm.$u.get(config.adminPath+'/shop/shopInv/form', params),
			shopInvForm: (params = {}) => vm.$u.get(config.adminPath + '/shop/api/invSetData', params),


			//  获取产品系列列表
			proClsListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/proClsListData', params),

			//  获取公告详情
			noticeListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/noticeListData', params),
			noticeSetData: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/noticeSetData', params),

			//  获取促销详情
			sellSetData: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/sellSetData', params),

			// 分类
			invClsListData: (params = {}) => vm.$u.get(config.adminPath + '/shop/api/invClsListData', params),
			invListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/invListData', params),

			invExtClsListData: (params = {}) => vm.$u.get(config.adminPath + '/shop/api/invExtClsListData', params),
			invExtListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/invExtListData', params),



			// 获取用户关联客户对照
			findUserCusList: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/findUserCusList', params),

			// 切换门店 
			switchCus: (params = {}) => vm.$u.get(config.adminPath + '/switchCus/' + params.cusCode),

			// 授权绑定
			// bindWxOpenid: (params = {}) => vm.$u.post(config.adminPath+'/bindWxOpenid', params),
			bindWxOpenid: (params = {}) => vm.$u.post('/weixinMa/bindWxOpenid', params),
			// 解绑
			cleanWxOpenid: (params = {}) => vm.$u.post('/weixinMa/cleanWxOpenid', params),

			// 获取openId
			getOpenId: (params = {}) => vm.$u.post('/weixinMa/getOpenId', params),


			// 新增购物车
			addToCart: (params = {}) => vm.$u.post(config.adminPath + '/shop/car/shopCar/addToCart', params),
			// 购物车列表
			// cartListData: (params = {}) => vm.$u.post(config.adminPath+'/shop/car/shopCar/listData', params),
			cartListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/car/shopCar/cartListData', params),

			// 删除购物车
			cleanAllCart: (params = {}) => vm.$u.post(config.adminPath + '/shop/car/shopCar/cleanAllCart', params),
			// 修改数量购物车
			updateCount: (params = {}) => vm.$u.post(config.adminPath + '/shop/car/shopCar/updateCount', params),


			// 其它图片地址
			setListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/other/set/listData', params),

			// 我的账户
			wecharCusMoney: (params = {}) => vm.$u.post(config.adminPath + '/setting/price/wecharCusMoney/listData', params),
			getCusMoney: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/getCusMoney', params),

			// 地址
			cusAddress: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/cusAddress', params),

			// 物流
			orderInfo: (params = {}) => vm.$u.post(config.adminPath + '/kdn/api/orderInfo', params),

			wlInfo: (params = {}) => vm.$u.post(config.adminPath + '/kdn/api/wlInfo', params),

			wlTest: (params = {}) => vm.$u.post(config.adminPath + '/kdn/api/wlTest', params),




			// 获取门店信息
			getCurCus: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/getCurCus', params),

			// 获取当前运营中心OR运管中心对应的门店列表
			findMnCusListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/findMnCusListData', params),

			// 获取结算信息
			shopCarBalanceForm: (params = {}) => vm.$u.post(config.adminPath + '/shop/api/shopCarBalanceForm', params),


			// 提交订单 生成销售订单
			saveOrderFromShopCar: (params = {}) => vm.$u.postJson(config.adminPath + '/shop/order/soMain/saveOrderFromShopCar', params),

			// 订单列表
			orderListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/order/soMain/orderListData', params),

			// 订单状态数量
			orderStatusCount: (params = {}) => vm.$u.post(config.adminPath + '/shop/order/soMain/orderStatusCount', params),

			// 确定收货
			confirm: (params = {}) => vm.$u.post(config.adminPath + '/shop/order/soMain/confirm', params),

			// 删除
			delete: (params = {}) => vm.$u.post(config.adminPath + '/shop/order/soMain/delete', params),

			// 延长
			delay: (params = {}) => vm.$u.post(config.adminPath + '/shop/order/soMain/delay', params),


			// 获取消息订阅模板

			getTempleteIda: (params = {}) => vm.$u.post('/weixinMa/getTempleteId', params),

			// 可开票订单列表
			kpListData: (params = {}) => vm.$u.post(config.adminPath + '/shop/order/soMain/kpListData', params),

			// 抬头列表
			ttlistData: (params = {}) => vm.$u.post(config.adminPath + '/bas/cus/basCusKpinfo/listData', params),
			// 抬头删除
			ttdelete: (params = {}) => vm.$u.post(config.adminPath + '/bas/cus/basCusKpinfo/delete', params),
			// 抬头保存
			ttsave: (params = {}) => vm.$u.post(config.adminPath + '/bas/cus/basCusKpinfo/save', params),

			// 默认开票信息
			defCusInfo: (params = {}) => vm.$u.post(config.adminPath + '/bas/cus/basCusKpinfo/defCusInfo', params),

			// 确定开票申请
			saveBySel: (params = {}) => vm.$u.postJson(config.adminPath + '/shop/order/cusFpApply/saveBySel', params),

			// 历史
			fpApplylistData: (params = {}) => vm.$u.post(config.adminPath + '/shop/order/cusFpApply/listData', params),

			// 历史详情
			fpApplyForm: (params = {}) => vm.$u.get(config.adminPath + '/shop/order/cusFpApply/form', params),

			// 文件
			fileList: (params = {}) => vm.$u.post(config.adminPath + '/file/fileList', params),


		},
		// 工作流引擎
		bpm: {
			myRuntimeList: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmMyRuntime/listData', params),
			myRuntimeForm: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmMyRuntime/form', params),
			myTaskList: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmMyTask/listData', params),
			myTaskForm: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmMyTask/form', params),
			getProcIns: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmRuntime/getProcIns', params),
			getTask: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/getTask', params),
			stop: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmRuntime/stop', params),
			stopProcess: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmRuntime/stopProcess', params),
			claim: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/claim', params),
			complete: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/complete', params),
			turn: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/turn', params),
			turnTask: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/turnTask', params),
			back: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTaskDef/back', params),	
			backTask: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTaskDef/backTask', params),
			bpmTaskDeForm: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTaskDef/form', params),
			move: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/move', params),
			moveTask: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/moveTask', params),
			rollback: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmTask/rollback', params),
			// /bpm/bpmMyTask/typeData
			typeData: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmMyTask/typeData', params),
			// /bpm/bpmMyTask/countData
			countData: (params = {}) => vm.$u.post(config.adminPath + '/bpm/bpmMyTask/countData', params),
		},
		// 中法供水start 
		zfgs: {

			findTypeList: (params = {}) => vm.$u.post(config.adminPath + '/msg/msgPush/findTypeList', params),
			msgPushAppListData: (params = {}) => vm.$u.post(config.adminPath + '/msg/msgPush/applistData', params),
			// /msg/listData
			msgListData: (params = {}) => vm.$u.post(config.adminPath + '/msg/listData', params),
			// /msg/readMsg
			readMsg: (params = {}) => vm.$u.post(config.adminPath + '/msg/readMsg', params),
			// /msg/readAllMsg
			readAllMsg: (params = {}) => vm.$u.post(config.adminPath + '/msg/msgPush/readAllMsgByType', params),

			// /proj/info/pmProjectinformation/listData
			pmProjectinformationListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/info/pmProjectinformation/listData', params),
			pmProjectinformationForm: (params = {}) => vm.$u.post(config.adminPath + '/proj/info/pmProjectinformation/form', params),
			// 收藏 /proj/collect/userCollect/save
			collectSave: (params = {}) => vm.$u.post(config.adminPath + '/proj/collect/userCollect/save', params),
			// 取消收藏 /proj/collect/userCollect/cancel
			collectCancel: (params = {}) => vm.$u.post(config.adminPath + '/proj/collect/userCollect/cancel', params),
			// /proj/enex/pmApproach/listData //进撤场
			enexPmApproachListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/enex/pmApproach/listData', params),
			// /proj/enex/pmApproach/sengEnMsg
			enexPmApproachSengEnMsg: (params = {}) => vm.$u.post(config.adminPath + '/proj/enex/pmApproach/sengEnMsg', params),
			// /proj/enex/pmApproach/validEn //确认入场
			enexPmApproachValidEn: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/enex/pmApproach/validEn', params),
			// /proj/enex/pmApproach/sengExMsg //撤场
			enexPmApproachSengExMsg: (params = {}) => vm.$u.post(config.adminPath + '/proj/enex/pmApproach/sengExMsg', params),
			// /proj/enex/pmApproach/validEx //确认撤场
			enexPmApproachValidEx: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/enex/pmApproach/validEx', params),
			// /proj/log/pmPjournal/listData //日志列表
			enexPmPjournalListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/log/pmPjournal/listData', params),
			// /proj/log/pmPjournal/save //日志保存
			enexPmPjournalSave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/log/pmPjournal/save', params),


			// 整改
			zgListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/zg/pmRectification/listData', params),
			zgForm: (params = {}) => vm.$u.post(config.adminPath + '/proj/zg/pmRectification/form', params),
			zgSave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/zg/pmRectification/save', params),
			// 设计变更
			pmDesignchangeData: (params = {}) => vm.$u.post(config.adminPath + '/design/change/pmDesignchange/listData', params),

			// 通水
			pushBzListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/info/pmProjectinformation/pushBzListData', params),
			pushBzSave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/info/pmProjectinformation/pushBz', params),

			// 材料查询
			pmMaterialListData: (params = {}) => vm.$u.post(config.adminPath + '/material/bom/pmMaterial/listData', params),
			// /proj/xj/pmInspection/listData //巡检列表
			xjPmInspectionListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/xj/pmInspection/listData', params),
			// /proj/xj/pmInspection/form //巡检表单
			xjPmInspectionForm: (params = {}) => vm.$u.post(config.adminPath + '/proj/xj/pmInspection/form', params),
			// /proj/xj/pmInspection/save //巡检保存
			xjPmInspectionSave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/xj/pmInspection/save', params),
			// /design/visa/pmVisa/listData //签证列表
			visaPmVisaListData: (params = {}) => vm.$u.postJson(config.adminPath + '/design/visa/pmVisa/listData', params),
			// /design/visa/pmVisa/form //签证表单
			visaPmVisaForm: (params = {}) => vm.$u.get(config.adminPath + '/design/visa/pmVisa/form', params),
			// /design/visa/pmVisa/save? //签证保存
			visaPmVisaSave: (params = {}) => vm.$u.postJson(config.adminPath + '/design/visa/pmVisa/save', params),
			// /material/check/pmMaterialcheck/listData //材料抽检列表
			checkPmMaterialcheckListData: (params = {}) => vm.$u.post(config.adminPath + '/material/check/pmMaterialcheck/listData', params),
			// /material/check/pmMaterialcheck/form //材料抽检表单
			checkPmMaterialcheckForm: (params = {}) => vm.$u.post(config.adminPath + '/material/check/pmMaterialcheck/form', params),
			// /material/check/pmMaterialcheck/save //材料抽检保存
			checkPmMaterialcheckSave: (params = {}) => vm.$u.postJson(config.adminPath + '/material/check/pmMaterialcheck/save', params),
			// /process/pressure/pmPressuretest/listData
			pressurePmPressuretestList : (params = {}) => vm.$u.post(config.adminPath + '/process/pressure/pmPressuretest/listData', params),
			// pressurePmPressuretestSave
			pressurePmPressuretestSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/pressure/pmPressuretest/save', params),
			// pressurePmPressuretestForm
			pressurePmPressuretestForm: (params = {}) => vm.$u.post(config.adminPath + '/process/pressure/pmPressuretest/form', params),

			// 挂表
			pmWatermeterListData: (params = {}) => vm.$u.post(config.adminPath + '/process/meter/pmWatermeter/listData', params),
			// process/meter/pmWatermeter/save
			pmWatermeterSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/meter/pmWatermeter/save', params),
			// /proj/journal/pmJournal/save
			journalPmJournalSave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/journal/pmJournal/save', params),
			// /proj/journal/pmJournal/listCardData
			journalPmJournalListCardData: (params = {}) => vm.$u.post(config.adminPath + '/proj/journal/pmJournal/listCardData', params),
			// /proj/weekly/pmWeekly/listData
			weeklyPmWeeklyListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/weekly/pmWeekly/listData', params),
			// /proj/weekly/pmWeekly/save
			weeklyPmWeeklySave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/weekly/pmWeekly/save', params),
			// /proj/weekly/pmWeekly/form
			weeklyPmWeeklyForm: (params = {}) => vm.$u.post(config.adminPath + '/proj/weekly/pmWeekly/form', params),
			// /process/delay/pmDelay/listData
			delayPmDelayListData: (params = {}) => vm.$u.post(config.adminPath + '/process/delay/pmDelay/listData', params),
			// /process/delay/pmDelay/form
			delayPmDelayForm: (params = {}) => vm.$u.post(config.adminPath + '/process/delay/pmDelay/form', params),
			// /process/delay/pmDelay/save
			delayPmDelaySave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/delay/pmDelay/save', params),
			// design/negoti/pmNegotiation/listData
			designNegotiPmNegotiationListData: (params = {}) => vm.$u.post(config.adminPath + '/design/negoti/pmNegotiation/listData', params),
			// /design/negoti/pmNegotiation/form
			designNegotiPmNegotiationForm: (params = {}) => vm.$u.post(config.adminPath + '/design/negoti/pmNegotiation/form', params),
			// /design/negoti/pmNegotiation/save
			designNegotiPmNegotiationSave: (params = {}) => vm.$u.postJson(config.adminPath + '/design/negoti/pmNegotiation/save', params),
		
			
			// 接水
			pmConnectwaterjobListData: (params = {}) => vm.$u.post(config.adminPath + '/process/job/pmConnectwaterjob/listData', params),
			// /accept/pre/pmPreacceptance/form
			pmPreacceptanceSave: (params = {}) => vm.$u.postJson(config.adminPath + '/accept/pre/pmPreacceptance/save', params),
			prePmConnectwaterjobForm: (params = {}) => vm.$u.get(config.adminPath + '/accept/pre/pmPreacceptance/form', params),
			// /accept/pre/pmPreacceptance/listData
			prePmConnectwaterjobListData: (params = {}) => vm.$u.post(config.adminPath + '/accept/pre/pmPreacceptance/listData', params),
			
			// 接水form
			pmConnectwaterjobForm: (params = {}) => vm.$u.post(config.adminPath + '/process/job/pmConnectwaterjob/form', params),
			pmConnectwaterjobSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/job/pmConnectwaterjob/save', params),
			pmConnectwaterjobmoreSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/job/pmConnectwaterjob/moreSave', params),
			pmConnectwaterjoboaSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/job/pmConnectwaterjob/oaSave', params),
			pmConnectwaterjobresultSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/job/pmConnectwaterjob/resultSave', params),
		

			// /process/delay/pmDelay/listIndexData //延期中
			delayPmDelayListIndexData: (params = {}) => vm.$u.post(config.adminPath + '/process/delay/pmDelay/listIndexData', params),
			// /proj/collect/userCollect/listData 收藏项目
			collectUserCollectListData: (params = {}) => vm.$u.post(config.adminPath + '/proj/collect/userCollect/listData', params),

			// 中间验收
			pmAcceptanceListData: (params = {}) => vm.$u.post(config.adminPath + '/accept/ance/pmAcceptance/listData', params),
			// /material/receive/pmMaterialneedArr/listData 材料收货列表
			pmMaterialneedArrListData: (params = {}) => vm.$u.post(config.adminPath + '/material/receive/pmMaterialneedArr/listData', params),
			// /material/receive/pmMaterialneedArr/form 材料收货表单
			pmMaterialneedArrForm: (params = {}) => vm.$u.post(config.adminPath + '/material/receive/pmMaterialneedArr/form', params),
			// /msg/msgPush/getMsgCount
			msgPushGetMsgCount: (params = {}) => vm.$u.post(config.adminPath + '/msg/msgPush/getMsgCount', params),
			
			pmProjFilesClsTreeData: (params = {}) => vm.$u.post(config.adminPath + '/proj/folder/pmProjFilesCls/treeData', params),
			pmProjFilesListFilesByType: (params = {}) => vm.$u.post(config.adminPath + '/proj/folder/pmProjFiles/listFilesByType', params),
		
			pmAttachmentListDataApp: (params = {}) => vm.$u.post(config.adminPath + '/proj/attachment/pmAttachment/listDataApp', params),

			///proj/zg/pmRectification/updateResult
			pmRectificationUpdateResult: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/zg/pmRectification/updateResult', params),
			// /proj/zg/pmRectification/updateCheck
			pmRectificationUpdateCheck: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/zg/pmRectification/updateCheck', params),
			
			attachLog: (params = {}) => vm.$u.post(config.adminPath + '/attach/attachLog', params),
		
		
			pmAttachmentCheck: (params = {}) => vm.$u.post('/proj/attachment/pmAttachment/check', params),
			// pmAttachmentDownload: (params = {}) => vm.$u.post('/proj/attachment/pmAttachment/download', params),
		
			pmProjectinformationBzKhQty: (params = {}) => vm.$u.post(config.adminPath +'/proj/info/pmProjectinformation/viewBzKhQty', params),
			pmWastepipeData: (params = {}) => vm.$u.post(config.adminPath +'/process/pipe/pmWastepipeData/listData', params),
			pmWastepipeDataform: (params = {}) => vm.$u.post(config.adminPath +'/process/pipe/pmWastepipeData/form', params),
			pmWastepipeDatasave: (params = {}) => vm.$u.postJson(config.adminPath +'/process/pipe/pmWastepipeData/save', params),

			// /material/check/pmMaterialcheck/failed
			pmMaterialcheckFailed: (params = {}) => vm.$u.postJson(config.adminPath + '/material/check/pmMaterialcheck/failed', params),
			//process/meter/pmWatermeter/form
			pmWatermeterForm: (params = {}) => vm.$u.post(config.adminPath + '/process/meter/pmWatermeter/form', params),
			//accept/supply/pmWatersupply/listData
			pmWatersupplyListData: (params = {}) => vm.$u.post(config.adminPath + '/accept/supply/pmWatersupply/listData', params),
			// /proj/folder/pmProjFiles/form
			pmProjFilesForm: (params = {}) => vm.$u.post(config.adminPath + '/proj/folder/pmProjFiles/form', params),
			pmProjFilesSave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/folder/pmProjFiles/save', params),
			// /process/log/pmWatermeterlog/listData
			pmWatermeterlogListData: (params = {}) => vm.$u.post(config.adminPath + '/process/log/pmWatermeterlog/listData', params),

			// /process/analysis/pmWateranalysis/form
			pmWateranalysisForm: (params = {}) => vm.$u.post(config.adminPath + '/process/analysis/pmWateranalysis/form', params),
			// /process/analysis/pmWateranalysis/resultSave
			pmWateranalysisResultSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/analysis/pmWateranalysis/resultSave', params),
			// /process/fd/pmProjectSegmentation/form
			pmProjectSegmentationForm: (params = {}) => vm.$u.post(config.adminPath + '/process/fd/pmProjectSegmentation/form', params),
			// /process/fd/pmProjectSegmentation/save
			pmProjectSegmentationSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/fd/pmProjectSegmentation/save', params),
			// /proj/over/pmTermination/form 项目终止表单
			pmTerminationForm: (params = {}) => vm.$u.post(config.adminPath + '/proj/over/pmTermination/form', params),
			// /proj/over/pmTermination/save
			pmTerminationSave: (params = {}) => vm.$u.postJson(config.adminPath + '/proj/over/pmTermination/save', params),
			// /accept/ance/pmAcceptance/form
			pmAcceptanceForm: (params = {}) => vm.$u.post(config.adminPath + '/accept/ance/pmAcceptance/form', params),
			// /accept/ance/pmAcceptance/resultSave
			pmAcceptanceResultSave: (params = {}) => vm.$u.postJson(config.adminPath + '/accept/ance/pmAcceptance/resultSave', params),

			pmProjectadjudicationcutForm: (params = {}) => vm.$u.post(config.adminPath + '/process/cut/pmProjectadjudicationcut/form', params),
			pmProjectadjudicationcutSave: (params = {}) => vm.$u.postJson(config.adminPath + '/process/cut/pmProjectadjudicationcut/save', params),

			pmMaterialneedForm: (params = {}) => vm.$u.post(config.adminPath + '/material/need/pmMaterialneed/form', params),
			pmMaterialneedSave: (params = {}) => vm.$u.postJson(config.adminPath + '/material/need/pmMaterialneed/save', params),
			
			// 企业微信登录
			wechatCallback: (params = {}) => vm.$u.post('/weixinCp/wechat/callback', params),
			// 小程序登录
			weixinMaCallback: (params = {}) => vm.$u.post('/weixinMa/wechat/callback', params),
		
			pmPuAppvouchForm: (params = {}) => vm.$u.post(config.adminPath + '/material/pu/pmPuAppvouch/form', params),
			pmPuAppvouchSave: (params = {}) => vm.$u.postJson(config.adminPath + '/material/pu/pmPuAppvouch/save', params),
		
			pmMaterialAppVouchForm: (params = {}) => vm.$u.post(config.adminPath + '/material/app/pmMaterialAppVouch/form', params),
			pmMaterialAppVouchSave: (params = {}) => vm.$u.postJson(config.adminPath + '/material/app/pmMaterialAppVouch/save', params),
			
			// /zfgsCommon/getWxCardList
			getWxCardList: (params = {}) => vm.$u.post(config.adminPath + '/zfgsCommon/getWxCardList', params),
		
			// 材料收货
			pmAsnShrecListData: (params = {}) => vm.$u.post(config.adminPath + '/material/receive/pmAsnShrec/listData', params),
			pmAsnShrecListAsnData: (params = {}) => vm.$u.post(config.adminPath + '/material/receive/pmAsnShrec/listAsnData', params),
			pmAsnShrecForm: (params = {}) => vm.$u.post(config.adminPath + '/material/receive/pmAsnShrec/form', params),
			pmAsnShrecAsnform: (params = {}) => vm.$u.post(config.adminPath + '/material/receive/pmAsnShrec/asnform', params),
			pmAsnShrecSave: (params = {}) => vm.$u.postJson(config.adminPath + '/material/receive/pmAsnShrec/save', params),
			pmAsnShrecSaveByAsn: (params = {}) => vm.$u.postJson(config.adminPath + '/material/receive/pmAsnShrec/saveByAsn', params),
			
			// 送货需求
			pmPuArrivalvouchForm: (params = {}) => vm.$u.post(config.adminPath + '/material/arrival/pmPuArrivalvouch/form', params),
			pmPuArrivalvouchSave: (params = {}) => vm.$u.postJson(config.adminPath + '/material/arrival/pmPuArrivalvouch/save', params),
		
			getDesignVisaKey: (params = {}) => vm.$u.post(config.adminPath + '/zfgsCommon/getDesignVisaKey', params),
		},
		//发货
		mffh:{
			findList:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/listDataApp', params),
			delete:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/delete', params),
			save:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/saveApp', params),
			addData:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/addData', params),
			saveDetail:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/saveDetail', params),
			
			invalid:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/invalid', params),
			
			//详情删除
			delDetail:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/delete', params),
			delBDetail:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/deleteDetail', params),
			editDetail:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/editDetail', params),
			fhDetailList:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/fhDetailList', params),
			fhList:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/dispatchlist/dispatchlistsListDataApp', params),
			
			updatePushStatusByHand:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/updatePushStatusByHand', params),
			updateCzStatusByHand:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/updateCzStatusByHand', params),
			updateCstatus:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/updateCstatus', params),
			mfCarplanFhCForm:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/form', params),
			invPositionSumListData:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/invPositionSum/listData', params),
			
		
			listPushData:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/listPushData', params),
			
			mfCarplanFhHpushdata:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/pushdata', params),
			mfCarplanFhHpushdataCar:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/pushdataCar', params),
		
			getCarInfoByCarNo:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/getCarInfoByCarNo', params),
		
			mfCarplanFhCsaveData: (params = {}) => vm.$u.postJson(config.adminPath + '/mf/fh/mfCarplanFhC/saveData', params),
			mfCarplanFhCformView:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhC/formView', params),
			mfCarplanFhCListPreData:(params = {}) => vm.$u.post(config.adminPath+'/mf/fh/mfCarplanFhH/listPreData', params),
			// 
			carNoRead:(params = {}) => vm.$u.post(config.adminPath+'/baidu/api/carNoRead', params),
			// /wms/so/outdata/wmsSoOutRds/fhForm
			soFhForm:(params = {}) => vm.$u.post(config.adminPath+'/wms/so/outdata/wmsSoOutRds/fhForm', params),
			// /wms/so/outdata/wmsSoOutRds/listData
			wmsSoOutRdsListData:(params = {}) => vm.$u.post(config.adminPath+'/wms/so/outdata/wmsSoOutRds/listData', params),
			// /wms/so/outdata/wmsSoOutRds/saveRds
			wmsSoOutRdsSaveRds:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/so/outdata/wmsSoOutRds/saveRds', params),
			// /wms/so/outdata/wmsSoOutRds/delete
			wmsSoOutRdsDelete:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/so/outdata/wmsSoOutRds/delete', params),
			// /wms/so/outdata/wmsSoOutRds/updateFhStatus
			updateFhStatus:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/so/outdata/wmsSoOutRds/updateFhStatus', params),
			
			// /wms/so/pallet/wmsPalletSendRds/listData
			wmsPalletSendRdsListData:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/so/pallet/wmsPalletSendRds/listData', params),
			wmsPalletSendRdsDelete:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/so/pallet/wmsPalletSendRds/delete', params),
		},
		//收货
		mfsh:{
			findList:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/listDataApp', params),
			delete:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/delete', params),
			save:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/saveApp', params),
			addData:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/addData', params),
			invalid:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/invalid', params),
			//详情删除
			delDetail:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhC/delete', params),
			saveDetail:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhC/saveApp', params),
			poList:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/poPodetails/listDataApp', params),
			// poListApp:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/poPodetails/listDataApp', params),
			
			updatePushStatusByHand:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/updatePushStatusByHand', params),
			updateCzStatusByHand:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/updateCzStatusByHand', params),
			updateCstatus:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/updateCstatus', params),
			listPushData:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/listPushData', params),
			mfCarplanDhHpushdata:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/pushdata', params),
			mfCarplanDhHpushdataCar:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/pushdataCar', params),
			
			getCarInfoByCarNo:(params = {}) => vm.$u.post(config.adminPath+'/mf/dh/mfCarplanDhH/getCarInfoByCarNo', params),
		
			
		},
		//运输单位
		carVen:{
			treeData:(params = {}) => vm.$u.post(config.adminPath+'/mf/carven/carVen/treeData', params),
			treeDataApp:(params = {}) => vm.$u.post(config.adminPath+'/mf/carven/carVen/treeDataApp', params),
			listData:(params = {}) => vm.$u.post(config.adminPath+'/mf/carven/carVen/listData', params),
		},
		mf:{
			fjfindList:(params = {}) => vm.$u.post(config.adminPath+'/mf/fj/mfCarplanFjH/listDataApp', params),
			fjdelete:(params = {}) => vm.$u.post(config.adminPath+'/mf/fj/mfCarplanFjH/delete', params),
			fjinvalid:(params = {}) => vm.$u.post(config.adminPath+'/mf/fj/mfCarplanFjH/invalid', params),
			fjsaveApp:(params = {}) => vm.$u.postJson(config.adminPath+'/mf/fj/mfCarplanFjH/save', params),
			fjform:(params = {}) => vm.$u.post(config.adminPath+'/mf/fj/mfCarplanFjH/form', params),
			fjformC:(params = {}) => vm.$u.post(config.adminPath+'/mf/fj/mfCarplanFjH/formC', params),
			
			
			fjdelDetail:(params = {}) => vm.$u.post(config.adminPath+'/mf/fj/mfCarplanFjH/deleteC', params),
			fjsaveDetail:(params = {}) => vm.$u.postJson(config.adminPath+'/mf/fj/mfCarplanFjH/saveC', params),
		
			pomainListDataApp:(params = {}) => vm.$u.post(config.adminPath+'/wms/pu/order/pomain/listDataApp', params),
			pomainSaveC:(params = {}) => vm.$u.post(config.adminPath+'/wms/pu/order/pomain/saveC', params),
			pomainForm:(params = {}) => vm.$u.get(config.adminPath+'/wms/pu/order/pomain/form', params),
			pomainForm:(params = {}) => vm.$u.get(config.adminPath+'/wms/pu/order/pomain/form', params),
			
			basListData:(params = {}) => vm.$u.get(config.adminPath+'/bas/pos/basPosition/listData', params),
			
		
			queryByName:(params = {}) => vm.$u.post(config.adminPath+'/bas/inv/queryByName', params),
			updatePoInvInfo:(params = {}) => vm.$u.post(config.adminPath+'/wms/pu/order/pomain/updatePoInvInfo', params),
			invListData:(params = {}) => vm.$u.post(config.adminPath+'/bas/inv/listData', params),
			invForm:(params = {}) => vm.$u.post(config.adminPath+'/bas/inv/form', params),
			posTreeData:(params = {}) => vm.$u.post(config.adminPath+'/bas/pos/basPosition/treeData', params),
			wmsRd01Form:(params = {}) => vm.$u.post(config.adminPath+'/wms/pu/rd01/wmsRd01/form', params),
			wmsRd01Save:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/pu/rd01/wmsRd01/save', params),
			getBarInfo:(params = {}) => vm.$u.post(config.adminPath+'/barcode/decode/getBarInfo', params),
			checkTempInvCode:(params = {}) => vm.$u.post(config.adminPath+'/wms/pu/rd01/wmsRd01/checkTempInvCode', params),
			whMatAppListDataApp:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/matapp/matApp/listDataApp', params),
			
			// wms/wh/matapp/matApp/updateBodyInfo
			whMatAppUpdateBodyInfo:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/matapp/matApp/updateBodyInfo', params),
			// api/u8/bas/rdStyleTreeData
			rdStyleTreeData:(params = {}) => vm.$u.post(config.adminPath+'/api/u8/bas/rdStyleTreeData', params),
			// /wms/wh/matapp/matApp/updateHeadInfo
			updateHeadInfo:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/matapp/matApp/updateHeadInfo', params),
			// /wms/wh/matapp/matApp/updateInv
			updateInv:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/matapp/matApp/updateInv', params),
			// /wms/wh/matapp/matApp/updateQty
			updateQty:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/matapp/matApp/updateQty', params),
			wmsRd11Form:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/rd11/wmsRd11/form', params),
			wmsRd11Save:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/wh/rd11/wmsRd11/save', params),
			//  /api/u8/bas/stockListData
			stockListData:(params = {}) => vm.$u.post(config.adminPath+'/api/u8/bas/stockListData', params),
			
			// /api/u8/bas/posSumListData
			posSumListData:(params = {}) => vm.$u.post(config.adminPath+'/api/u8/bas/posSumListData', params),
			
			// /wms/wh/rd10/wmsRd10/listNOverData
			listNOverData:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/rd10/wmsRd10/listNOverData', params),
			// /wms/wh/rd10/wmsRd10/formC
			wmsRd10formC:(params = {}) => vm.$u.get(config.adminPath+'/wms/wh/rd10/wmsRd10/formC', params),
			// /wms/wh/rd10/wmsRd10/rdSave
			wmsRd10rdSave:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/wh/rd10/wmsRd10/rdSave', params),
			wmsRds10ListData:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/rd10/wmsRds10/listData', params),
			// /barcode/encode/printSnNumber
			printSnNumber:(params = {}) => vm.$u.post(config.adminPath+'/barcode/encode/printSnNumber', params),
			wmsRd10Close:(params = {}) => vm.$u.post(config.adminPath+'/wms/wh/rd10/wmsRd10/close', params),
			
			wmsUserBlueSetSave:(params = {}) => vm.$u.postJson(config.adminPath+'/wms/print/blue/wmsUserBlueSet/save', params),
			getLoginUserSet:(params = {}) => vm.$u.post(config.adminPath+'/wms/print/blue/wmsUserBlueSet/getLoginUserSet', params),
			
		
		},
		xy:{
			asnHListData:(params = {}) => vm.$u.post(config.adminPath+'/srm/asn/vouch/asnH/listData', params),
			asnHForm:(params = {}) => vm.$u.post(config.adminPath+'/srm/asn/vouch/asnH/form', params),
			needShListData:(params = {}) => vm.$u.post(config.adminPath+'/srm/asn/vouch/asnH/needShListData', params),
			asnHComfirmAsn:(params = {}) => vm.$u.postJson(config.adminPath+'/srm/asn/vouch/asnH/comfirmAsn', params),
			companyTreeData:(params = {}) => vm.$u.post(config.adminPath+'/sys/company/treeData', params),
			receivedListData:(params = {}) => vm.$u.post(config.adminPath+'/srm/asn/vouch/asnH/receivedListData', params),
			
			
		},
		weixin:{
			// 企业微信登录
			wechatCallback: (params = {}) => vm.$u.post('/weixinCp/wechat/callback', params),
			// 小程序登录
			weixinMaCallback: (params = {}) => vm.$u.post('/weixinMa/wechat/callback', params),
		}

	};

}

export default {
	install
}